Academic Jobs - Home of Higher Ed Logo

Research spotlight: Zaniar Sharifi

8 min read12 Ansichten

At a glance

Zaniar Sharifi and colleagues at the University of Zanjan built LCoDeepNEAT, a Lamarckian co-evolutionary algorithm that lets CNN candidates inherit trained last-layer weights, raising search accuracy by 2% to 5.6% while finding smaller networks.

Linkedin azerbaijan login or sign up page
Photo by Zulfugar Karimov on Unsplash

Two networks compete for a place in the next generation. One has a slightly better shape. The other has almost the same shape, but it arrives carrying weights its parent already trained. In most evolutionary machine-learning systems that second advantage doesn't exist. Children inherit structure and nothing else, and every candidate starts its training from a blank slate.

A paper by Zaniar Sharifi, Khabat Soltanian and Ali Amiri, all at the University of Zanjan in Iran, breaks that rule. Their algorithm, LCoDeepNEAT, lets a candidate convolutional neural network pass on part of what it learned while being evaluated. The authors report the trick raised classification accuracy during evolution by between 2% and 5.6% compared with the same search run without it, and that the networks it found beat every hand-designed model in their comparison set on best error rate. The work appeared at the 13th International Conference on Computer and Knowledge Engineering, held in Mashhad, Iran, in November 2023.

Why this lands now: the cost of automated architecture design is still the thing that decides who gets to do it. A search that needs a cluster of accelerators is a search most university labs can't run. LCoDeepNEAT's pitch is narrower and more practical than a new state-of-the-art model. It's a cheaper way to arrive at a good one.

Why a network's shape is expensive to choose

A convolutional neural network is a stack of filters that slide across an image and learn to respond to edges, then textures, then object parts. The arrangement matters more than the raw count. Three 3x3 filters stacked together see a wider area than one 7x7 filter while using fewer weights, and that single observation reshaped a decade of hand-designed models.

Choosing that arrangement automatically is called neural architecture search, or NAS. The alternative, paying a graduate student to try layouts by hand, doesn't scale.

The Zanjan team is blunt about the search space NAS operates in. It's effectively unbounded, because the number of layers, filters and connections has no practical ceiling. It's non-differentiable, since adding a filter is a discrete step rather than a slope you can follow downhill. And it's deceptive and noisy: two networks with identical structure can score differently depending on random initialization, so two visually similar candidates can end up with fitness scores that look nothing alike.

That combination is why early NAS results were measured in GPU-years. Every candidate in the population needs training before you can rank it, and populations run to dozens or hundreds of individuals over dozens of generations.

What the Zanjan team changed

LCoDeepNEAT extends CoDeepNEAT, a graph-based method that co-evolves two populations. The first holds modules, each a small CNN. The second holds Individuals, and an Individual's genotype is a directed acyclic graph where every node is filled in by a module drawn from a species subpopulation. Assembly pastes those modules into one large network and appends a classification segment.

Four modifications separate the new method from its parent. The full paper is on arXiv, and the conference version is indexed on IEEE Xplore.

  • The Individual genotype gains a variable-length list holding the weights and biases of the network's final layer, not just its graph structure.
  • During fitness evaluation, the assembled network trains for exactly one epoch of stochastic gradient descent, then the trained final-layer weights are written back into the genotype.
  • The search space is restricted to architectures ending in precisely two fully connected layers.
  • Every genome starts with two to four genes, where CoDeepNEAT starts with one.

One epoch is a token amount of training. A network that has seen the training set once has barely begun to fit anything. But the final layer is where class decisions get made, and a single pass is enough to move those weights away from random.

Here's the analogy that makes the inheritance rule legible. Picture a carmaker that builds a new prototype each season. The Darwinian version of evolution hands the next design team a blueprint and nothing else, so every engine gets dyno-tuned from zero. The Lamarckian version hands over the blueprint plus the fuel map the previous team finished dialing in. The bodywork still has to be redesigned. The tuning work isn't thrown away.

The name comes from Jean-Baptiste Lamarck's idea that characteristics acquired during a lifetime can be inherited. Biology discarded that mechanism. In optimization it survives as a useful heuristic, because a search that propagates partial solutions usually converges faster than one that discards them.

Selection and reproduction work conventionally: tournament selection picks parents, and offspring inherit the graph with structural mutation plus the weight list with possible modification. There's no gradient flowing into the architecture itself. Gradient information enters only through the last layer, one step removed, then rides along inside the genome.

The test set, and what came out of it

The method was evaluated on six image classification datasets: MNIST, MNIST-Fashion, Rectangles, and the distorted variants MNIST-RB, MNIST-BI and Rectangles-I. All are small-format benchmarks that have anchored evolutionary NAS comparisons for years, which makes the numbers comparable to prior work.

Against more than twelve hand-crafted networks, LCoDeepNEAT's best error rate was lower on every dataset. Against eight recent NAS methods, it surpassed some on best error rate and beat all of them on mean error rate across the evaluated datasets. The evolved networks also carried fewer parameters, which matters on devices where memory is the binding constraint.

The ablation study is the more interesting read, because it isolates which change did the work.

ConfigurationWhat it testsReported effect
Lamarckian transfer plus evolved last layerThe full method2% to 5.6% accuracy gain during evolution
Evolved last layer, no Lamarckian transferWeight evolution alone0.4% to 0.8% gain per generation
Restricted search space onlyTwo-fully-connected-layer constraint1.63% error on MNIST-BI, versus 1.02% for the full method

That last row deserves a second look. Simply narrowing the search space, with no weight evolution at all, still found good architectures on every dataset. On MNIST-BI it landed at 1.63% error. Adding the inheritance mechanism closed the remaining 0.61 percentage points. The lesson isn't that one component carries the method; it's that constraining what the search is allowed to consider did a large share of the work before any cleverness about weights came in.

Where the evidence stops

Every dataset in the study is small and grayscale, mostly 28x28 pixels. There's no ImageNet here, no detection or segmentation task, no transformer or attention block anywhere in the search space. Results on MNIST-family benchmarks have historically transferred unevenly to larger problems, and a reviewer will want to see the method run at a scale where architecture search actually gets expensive.

The two-fully-connected-layer restriction cuts both ways. It shrinks the space, which is the point. It also means the method can't discover architectures whose classifier heads are more elaborate than that, so the reported gains say nothing about those designs.

And only the final layer inherits anything. The convolutional filters, where most of the representational work happens, are still initialized fresh in every candidate. The authors name this as the natural next step rather than a solved problem.

A skeptic's objection would go something like this: the comparison set mixes hand-crafted networks from a different era of the field with NAS methods of varying computational budgets, and mean-error wins against eight baselines are not the same as a wall-clock win. The paper's efficiency argument rests on one epoch per candidate and a smaller search space. Whether that translates into a shorter search on real hardware, in hours rather than in error percentages, is the question a practitioner will ask first.

Worth stating plainly: this is a conference paper, published in the ICCKE proceedings, and independent replication is thin. The conference listing confirms the author affiliations and abstract but adds nothing beyond them.

What a cheaper search changes for a small lab

Most of the people who train neural networks don't work at a company with a dedicated cluster. They work in a lab with two GPUs and a shared queue, or they teach a graduate seminar where students need a search that finishes inside a semester.

A method that finds competitive architectures with fewer parameters and one training epoch per candidate fits that budget in a way that a thousand-GPU-hour search does not. The gains here are incremental, not a step change in what's achievable, and the paper doesn't claim otherwise. But incremental efficiency compounds when it lowers the entry price.

There's a research-direction implication too. Combining evolutionary search with gradient information is an old idea, and the specific choice of where to inject it matters enormously. LCoDeepNEAT injects it at the shallowest possible point: the last layer, the cheapest thing to train. That it produced measurable gains anyway is the finding worth following up.

Sharifi is now a machine learning engineer, and the code-shaped questions his paper leaves open are the ones to watch. If trained module weights can be inherited the way final-layer weights are, the search would learn representations and structure at the same time. The authors flag this as future work; whether it holds up is an empirical question about whether deep filters carry useful information across generations or just noise from one randomly initialized ancestor.

Meanwhile the constraint result stands on its own and needs no follow-up. Sometimes the cheapest way to improve an automated search is to tell it what not to bother looking at.

  • machine learning
  • neural architecture search
  • evolutionary algorithms
  • convolutional neural networks
  • computer science research
Porträt von Jarrod Kanizay
Über den Autor

Jarrod KanizayAutor ansehen

Academic Jobs In House Author

Visionary leader transforming academic recruitment with 20+ years in higher education.

Diskussionen

Sort von:

Seien Sie der Erste, der diesen Artikel kommentiert!

Du bist

Sie werden gebeten, sich anzumelden, bevor Ihr Kommentar veröffentlicht wird.

Browse nach Fakultät

Browse nach Thema

Frequently Asked Questions

🧠What is LCoDeepNEAT?

LCoDeepNEAT is a neural architecture search method introduced by Zaniar Sharifi, Khabat Soltanian and Ali Amiri at the University of Zanjan. It extends the CoDeepNEAT framework by co-evolving convolutional neural network architectures together with the weights of their final classification layer, so a trained candidate passes part of what it learned to its offspring.

🧬What does Lamarckian mean in this context?

It refers to Jean-Baptiste Lamarck's idea that traits acquired during an organism's lifetime can be inherited. Biology rejected that mechanism, but in optimization it works as a heuristic: instead of inheriting only structure, an offspring also inherits weights that were already adjusted by training. LCoDeepNEAT applies this to the final layer of each candidate network.

📈How much did accuracy improve?

The paper reports that combining the Lamarckian transfer with last-layer weight evolution raised classification accuracy during evolution by 2% to 5.6% compared with running the same search without those strategies. Using weight evolution alone, without the Lamarckian transfer, added 0.4% to 0.8% accuracy per generation.

🗂️Which datasets were used to test it?

Six standard image classification datasets: MNIST, MNIST-Fashion, Rectangles, MNIST-RB, MNIST-BI and Rectangles-I. All are small-format benchmarks that are widely used in evolutionary architecture search, which makes the results comparable to earlier work but does not test the method at ImageNet scale.

⚖️How does it compare with other architecture search methods?

LCoDeepNEAT was benchmarked against eight leading neural architecture search methods and more than twelve hand-crafted networks. It achieved a lower best error rate than every hand-crafted model on every dataset, surpassed some of the NAS methods on best error rate, and outperformed all of the NAS methods on mean error rate across the evaluated datasets.

🔍Why does the search space restriction matter?

LCoDeepNEAT only considers architectures ending in exactly two fully connected layers. That narrows the enormous space of possible networks, which speeds up the search. In an ablation, the restriction alone produced a 1.63% classification error on MNIST-BI, while the full method reached 1.02% — so the constraint accounted for a substantial share of the result on its own.

⏱️How much training does each candidate get?

Exactly one epoch of stochastic gradient descent. A candidate network is assembled from its modules, trained for a single pass over the training data, scored on a validation set, and then the trained weights of its final layer are copied back into its genotype. This keeps the cost of evaluating each individual low.

⚠️What are the main limitations?

The benchmarks are small and mostly grayscale, with no large-scale dataset or detection task included. Only the final layer's weights are inherited, not the convolutional filters. The two-fully-connected-layer restriction excludes architectures with more elaborate classifier heads. The paper is a 2023 conference publication, and independent replication is limited.

📄Where was the research published?

It appeared in the proceedings of the 13th International Conference on Computer and Knowledge Engineering (ICCKE), held in Mashhad, Iran, on 1–2 November 2023, pages 399–408. The DOI is 10.1109/ICCKE60553.2023.10326238, and a preprint is available at arXiv:2410.22487.

🔭What future work do the authors suggest?

Extending weight evolution beyond the last layer, toward the modules themselves. If trained module weights could be inherited the way final-layer weights are, the search would learn representations and structure simultaneously. The authors also note that using already-trained modules during the evolutionary process becomes feasible with this design.

💡Why does this matter for researchers without large compute budgets?

Architecture search has historically been expensive because every candidate must be trained before it can be ranked. LCoDeepNEAT limits each candidate to one training epoch and shrinks the search space, producing competitive networks with fewer parameters. For smaller labs and teaching settings, that can be the difference between running a search and skipping it.

🎓Who is Zaniar Sharifi?

A machine learning engineer and researcher who completed this work at the Faculty of Electrical and Computer Engineering at the University of Zanjan, Iran, alongside Khabat Soltanian and Ali Amiri. His research interests sit in evolutionary computation and deep learning architecture design.