Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

FLUID models roadmap

Open mrysztow opened this issue 8 years ago • 15 comments

Do you have a roadmap of introducing models to FLUID? We would like to align our plan of providing MKL-DNN OP kernels with model roadmap.

mrysztow avatar Feb 15 '18 13:02 mrysztow

In #7561, we have discussed PaddlePaddle's 10 aspects in 2018. For models of FLUID, there are NLP,Speech and Image support:

  • NLP support: Enhance the CPU power of some NLP ops (mainly RNN/LSTM/GRU) based on specific workload.
  • Speech support: Enhance the CPU power of some Speech ops (mainly RNN/CNN) based on specific workload.
  • Image support: Enhance the CPU power of some Image ops (mainly CNN and Detection) based on specific workload.

luotao1 avatar Feb 24 '18 02:02 luotao1

I give some brief information on NLP support. We have a plan to first focus on some state-of-art models in neural machine translation task in NLP field.



  • For NMT task, three models are expected to be highly optimized:

  • About the time schedule:

    • The first milestone for the NMT task is at the end of March, at then, the implementation of the three models are finished, their learning performances are verified and a basic profiling report is given. You can check this project: https://github.com/PaddlePaddle/Paddle/projects/37
  • Important operators expected to be highly optimized:

lcy-seso avatar Feb 24 '18 05:02 lcy-seso

Thank you for pointing particular NMT models. What topologies are the most important for image recognition and speech? Are they Resnet-50 and DS2?

mrysztow avatar Mar 06 '18 14:03 mrysztow

@qingqing01 @kuke Can you help to answer it? Thanks very much!

luotao1 avatar Mar 07 '18 01:03 luotao1

About computer vision, what we are doing now are as follows:

qingqing01 avatar Mar 08 '18 01:03 qingqing01

@qingqing01 thank you for the list Does SE-ResNeXt is going to replace classic Resnet50, already implemented for Fluid (https://github.com/dzhwinter/benchmark/blob/master/fluid/resnet50.py) ?

mrysztow avatar Mar 08 '18 14:03 mrysztow

@mrysztow Both two networks are classic. This two are all needed. They have the same basic operators.

qingqing01 avatar Mar 09 '18 01:03 qingqing01

For the application in speech, we are now developing a recognition system DeepASR. The two important operators used are Conv1D and LSTMP.

In Q2, we plan to implement a wake-up system, the main structure is also CNNs+RNNs.

kuke avatar Mar 09 '18 02:03 kuke

@luotao1 is https://github.com/PaddlePaddle/Paddle/blob/develop/benchmark/fluid/machine_translation.py implementation of Conv seq2seq, mentioned earlier in this thread (https://github.com/PaddlePaddle/Paddle/issues/8450#issuecomment-368200533)? Or it is another seq2seq model?

mrysztow avatar Apr 13 '18 13:04 mrysztow

@mrysztow https://github.com/PaddlePaddle/Paddle/blob/develop/benchmark/fluid/machine_translation.py is seq2seq model. And conv seq2seq is in https://github.com/PaddlePaddle/models/pull/686.

luotao1 avatar Apr 16 '18 06:04 luotao1

Thank you

mrysztow avatar Apr 16 '18 06:04 mrysztow

Tier 1 Tier 2 Tier 3
ResNet50 MobileNet-SSD Conv seq2seq(PR)
Transformer RNN Search(PR) CRNN CTC
SE-ResNeXt
DeepASR

luotao1 avatar Apr 18 '18 03:04 luotao1

Feeds support :

The mainly related operators are:

  • FC, GRU, LSTM, Self-Attention

luotao1 avatar May 10 '18 03:05 luotao1

@luotao1 I would like to confirm, that the current priority list is, considering current CPU deployments and feeds model, would be the following:

Tier 1 Tier 2 Tier 3 Tier 4
ResNet50 text_classification MobileNet-SSD Conv seq2seq(PR)
CRNN-CTC transformer SE-ResNeXt
language_model DeepASR
chinese_ner RNN Search

mrysztow avatar May 29 '18 08:05 mrysztow

@mrysztow The priority list is OK now.

luotao1 avatar May 29 '18 10:05 luotao1