# Software engineers - let's crash the Deep Learning party!

- Speaker: [Jenny Abramov](/wiki/speakers/jenny-abramov.md)
- Event: [Reversim Summit 2018](/wiki/years/2018.md)
- Video: https://www.youtube.com/watch?v=958313v1CfY
- Transcript: [/transcripts/2018/45-958313v1CfY.md](/transcripts/2018/45-958313v1CfY.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Software Engineering](/wiki/topics/software-engineering.md), [Machine Learning](/wiki/topics/machine-learning.md), [MLOps](/wiki/topics/mlops.md), [Architecture](/wiki/topics/architecture.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

This talk explores the intersection of deep learning and traditional software engineering, highlighting how data science teams often struggle with technical debt. The speaker shares her experience cloning a popular object-detection library and discovering poorly structured, tightly coupled code. She argues that software engineers possess the exact skills needed to combat this technical debt by introducing modular architecture and dependency injection. Ultimately, the audience learns how applying standard software design principles to deep learning projects makes them maintainable and scalable.

## Key points

- [0:12](https://www.youtube.com/watch?v=958313v1CfY&t=12s) The speaker shares her motivation to join the AI revolution by cloning a popular object-detection library, only to encounter severe technical debt and unmaintainable code.
- [1:14](https://www.youtube.com/watch?v=958313v1CfY&t=74s) Algorithm-heavy teams often focus entirely on models rather than fighting technical debt, creating an opportunity for experienced software engineers to add immense value.
- [1:14](https://www.youtube.com/watch?v=958313v1CfY&t=74s) Deep learning applications can be viewed modularly as lego blocks, consisting of feature extractors acting as brains and task-specific heads.
- [2:23](https://www.youtube.com/watch?v=958313v1CfY&t=143s) Because different brains offer trade-offs between accuracy and performance on devices like phones, modularity is crucial for swapping them easily.
- [2:23](https://www.youtube.com/watch?v=958313v1CfY&t=143s) The original library tightly coupled the brain component directly into the code, preventing easy integration of new models.
- [3:46](https://www.youtube.com/watch?v=958313v1CfY&t=226s) Using dependency injection to pass the brain as a constructor parameter allows switching between different models without altering infrastructure code.
- [3:46](https://www.youtube.com/watch?v=958313v1CfY&t=226s) Proper architectural planning prevents code monsters and saves significant time in the long run, even if rushing initial experiments feels faster.
- [4:49](https://www.youtube.com/watch?v=958313v1CfY&t=289s) By applying clean code principles, the AI community can avoid repeating architectural mistakes that took traditional software engineering decades to fix.

## Takeaways

- Apply dependency injection to deep learning components to decouple models from infrastructure code.
- Design modular architectures so that feature extractors and task-specific heads can be easily swapped or extended.
- Invest time in software design early in AI projects to prevent compounding technical debt.

## Questions this talk answers

- How can software engineers contribute effectively to machine learning and algorithm-focused teams?
- How do you implement dependency injection in deep learning pipelines to easily swap model backbones?
- What are the best practices for preventing technical debt in fast-paced AI research projects?

## Tags

deep learning, dependency injection, machine learning infrastructure, modularity, software architecture, technical debt
